package com.huijie.app.u.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.huijie.core.common.BaseEntity;

/**
 * <p>
 * 角色与资源关系表
 * </p>
 *
 * @author echen
 * @since 2019-01-09
 */
@TableName("u_role_resource")
public class RoleResource extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Integer roleId;

    private Integer resourceId;

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }
    public Integer getResourceId() {
        return resourceId;
    }

    public void setResourceId(Integer resourceId) {
        this.resourceId = resourceId;
    }

    @Override
    public String toString() {
        return "RoleResource{" +
        "roleId=" + roleId +
        ", resourceId=" + resourceId +
        "}";
    }
}
